import { createApp } from 'vue'
import { createPinia } from 'pinia'
import router from './router'
import App from './App.vue'
import '@g/types/global.d.ts'
import '@/global/style/index.scss'
import '@g/permission'
import directives from '@g/directives'

import 'element-plus/dist/index.css'

const pinia = createPinia()

const app = createApp(App)

directives(app)

app.use(router)
.use(pinia)
.mount('#app')
